var common = require('../../utils/common.js');
var app=getApp();

Page({
    data: {
        imgUrls:[
        "images/banner.png",
        "images/banner.png"
        ],
        __PUBLIC__:app.__PUBLIC__
    },
    onLoad:function () {
        common.bestCurl("GET",'/index/index',res=>{
            // console.log(res);
            this.setData({data:res.data,agency:res.data.agency,brand:res.data.brand});
        })
    },
    inputContent:function(e){
        wx.navigateTo({
            url: '../cars/list/list?type=1'
        })
    }
})